package com.zcup.designer.construct.decorator;

public class ConcreteDecoratorB extends Decorator {
    @Override
    void operation() {
        super.operation();
        addBehavior();
    }

    private void addBehavior(){
        System.out.println(this.getClass().getName() + "\t" + "do something");
    }
}
